package com.g.ocache.impl.store.expiration;

/**
 * 
 * @author zhangyf
 * @param <K>
 * @param <V>
 */
public interface ExpirationEvictor<K, V> {
	
	/**
	 * 
	 */
	boolean isRunning();
	
	void start();
	
	void stop();
	
	/**
	 * 
	 */
	interface Factory<K, V> {
		
		ExpirationEvictor<K, V> create(Expirable<K, V> evictable);
	}
}
